# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-alias
pkgver=1.0.4
pkgrel=0
pkgdesc="X.org font alias files"
url="https://xorg.freedesktop.org/"
arch="noarch"
license="MIT"
source="https://www.x.org/releases/individual/font/font-alias-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-fontrootdir=/usr/share/fonts
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="c67ac2ee344a601fcc09471580214b30c3fd6acc4800702840de44f0733e6d18b3faeec2fa3f4e2314025cc1724d7d6796ebaf620398fe350710182fd2c4b07d  font-alias-1.0.4.tar.bz2"
